WebAuthnDomain

class WebAuthnDomain : Domain

This domain allows configuring virtual authenticators to test the WebAuthn API.

This API is marked as experimental in protocol definition and can change in the future.

Functions

addCredential
Link copied to clipboard
fun addCredential(input: AddCredentialRequest): Single<RequestResponseFrame>
Adds the credential to the specified authenticator.
addVirtualAuthenticator
Link copied to clipboard
Creates and adds a virtual authenticator.
clearCredentials
Link copied to clipboard
fun clearCredentials(input: ClearCredentialsRequest): Single<RequestResponseFrame>
Clears all the credentials from the specified device.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disable the WebAuthn domain.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getCredential
Link copied to clipboard
fun getCredential(input: GetCredentialRequest): Single<GetCredentialResponse>
Returns a single credential stored in the given virtual authenticator that matches the credential ID.
getCredentials
Link copied to clipboard
fun getCredentials(input: GetCredentialsRequest): Single<GetCredentialsResponse>
Returns all the credentials stored in the given virtual authenticator.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.
removeCredential
Link copied to clipboard
fun removeCredential(input: RemoveCredentialRequest): Single<RequestResponseFrame>
Removes a credential from the authenticator.
removeVirtualAuthenticator
Link copied to clipboard
Removes the given authenticator.
setAutomaticPresenceSimulation
Link copied to clipboard
Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator.
setUserVerified
Link copied to clipboard
fun setUserVerified(input: SetUserVerifiedRequest): Single<RequestResponseFrame>
Sets whether User Verification succeeds or fails for an authenticator.

Sources

jvm source
Link copied to clipboard